<?php

namespace app\api\controller\god;

use app\common\controller\Api;

// 报读层次
class Stureadlevelinfo extends Api
{
    protected $noNeedLogin = ['lists'];

    protected $model = null;

    public function _initialize()
    {
        parent::_initialize();
        $this->model = model("Stureadlevelinfo");
    }


    public function lists()
    {
        $lists = $this->model->field('id,name,status')
            ->where('status', 'normal')->select();

        $this->success('查询成功', $lists);

    }

}